/*
 * ths_cdefs.h
 *
 *	C 定义文件
 */

#ifndef INCLUDE_THS_CDEFS_H_
#define INCLUDE_THS_CDEFS_H_


#ifdef  __cplusplus
# define MXS_BEGIN_DECLS extern "C" {
# define MXS_END_DECLS   }
#else
# define MXS_BEGIN_DECLS
# define MXS_END_DECLS
#endif

#define MXS_MIN(a,b) ((a)<(b) ? (a) : (b))
#define MXS_MAX(a,b) ((a)>(b) ? (a) : (b))

/* 公共包含头文件  */
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

typedef unsigned char byte_t;
typedef long long long_t;

#endif /* INCLUDE_THS_CDEFS_H_ */
